/**
 * @(#) ISimulatorObserver.java
 */

package pcsr.simulator.control;

/**
 * Defines the minimal contract to be able to subscribe simulator notifications.
 * This interfaces establishes the interface with a driver. 
 * @author Paulo Fagundes
 *
 */
public interface ISimulatorObserver
{
	/**
	 * Notify a change in the value of one sensor.
	 * @param sensorID Sensor identifier of the changed sensor. 
	 * @param sensorValue The new value sensor acquired.
	 */
	void NotifySimulatorSensorValue(String sensorID, double sensorValue);
	
	/**
	 * Notify a change in the value of one actuator.
	 * @param actuatorID Actuator identifier of the changed actuator.
	 * @param actuatorValue The new value actuator acquired.
	 */
	void NotifySimulatorActuatorValue(String actuatorID, double actuatorValue);
}
